package product;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedTransferQueue;

public class PlayGround {

    public static LinkedTransferQueue<Product> productQueue = new LinkedTransferQueue<>();

    public static void main(String[] args) {
        ExecutorService executorService = Executors.newFixedThreadPool(3);
        executorService.submit(new TaskProducer());
        executorService.submit(new TaskConsumer());
        executorService.submit(new TaskConsumer());
    }

}
